package cn.dkk.behavior_design.responsibility;

/**
 * @author dkk
 * @date 2022/7/25
 * @desc 部门经理
 */
public class Manger extends Handler{

    public Manger() {
        super(NUM_ONE,NUM_THREE);
    }

    @Override
    protected void handleLeave(LeaveRequest leaveRequest) {
        System.out.println("部门经理审批"+leaveRequest.getName()+"的请假申请,请假"+leaveRequest.getNum()+"给予同意");
    }

}
